<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Homework 2-4</title>

</head>
<body>
    <div class="Q1">
        <p>1、解构赋值变换</p>

        <button onclick="Q1()">变换</button>
    </div>
    <div class="Q2">
        <p>2、数组去重</p>
        <button onclick="Q2()">去重</button>
    </div>
    <div class="Q3">
        <p>3、箭头函数</p>
<xmp>
    arr.forEach((v,i)=>{ 
        console.log(v, i)
    })
</xmp>
 

    <div class="Q4">
        <p>4、数字检查</p>
        <button onclick="Q4()">数字检查</button>
    </div>

    <div class="Q5">
        <p>5、电话检查</p>
        <button onclick="Q5()">电话检查</button>
    </div>

    <div class="Q6">
        <p>6、网址转化</p>
        <button onclick="Q6()">网址转化</button>
    </div>

    <div class="Q7">
        <p>7、空白过滤</p>
        <button onclick="Q7()">空白过滤</button>
    </div>

    <div class="Q8">
        <p>8、获取HTML内部文案</p>
        <button onclick="Q8()">获取内部文案</button>
    </div>

    <div class="Q9">
        <p>9、div转化</p>
        <button onclick="Q9()">转化</button>
    </div>

    <div class="Q10">
        <p>10、汉字检查</p>
        <button onclick="Q10()">汉字检查</button>
    </div>

    <div class="Q11">
        <p>11、昵称检查</p>
        <button onclick="Q11()">昵称检查</button>
    </div>

    <script src="hw2-4.js"></script>
</body>

</html>